CREATE TABLE [dbo].[TRTIOP_RNCN]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[CO_TIOP_RENO] [dbo].[TD_VC_003] NOT NULL,
[CO_TIOP_CANC] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TRTIOP_RN__CO_US__1486F2C8] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TRTIOP_RN__FE_US__157B1701] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TRTIOP_RN__CO_US__166F3B3A] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TRTIOP_RN__FE_US__17635F73] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRTIOP_RNCN] ADD CONSTRAINT [PK__TRTIOP_R__17D9AB472863CE43] PRIMARY KEY CLUSTERED  ([CO_EMPR]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TRTIOP_RNCN] ADD CONSTRAINT [FK__TRTIOP_RN__CO_EM__278FA59B] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
ALTER TABLE [dbo].[TRTIOP_RNCN] ADD CONSTRAINT [FK__TRTIOP_RN__CO_EM__2883C9D4] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_TESO] ([CO_EMPR])
GO
